package dao.interf;

import java.util.List;

public interface IBaseDao<T> {
	public String add(T object);
	
	//删除
	public void deleteById(Integer id);
	
	//修改
	public void edit(T object);
	
	//查询
	public T getById(Integer id);
	public T getByProperty(String pName, String pValue);
	public List<T> getListByProperty(String pName, String pValue);
	public List<T> getAll();
}